package com.telkomsigma.hibernate.persistence.captain.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "captain")
public class Captain implements Serializable {

	private static final long serialVersionUID = 1L;
	private String player_id;
	private String team_id;


	@Id	
	@Column(name = "player_id", unique = true)
	public String getPlayer_id() {
		return player_id;
	}
	public void setPlayer_id(String player_id) {
		this.player_id = player_id;
	}

	@Column(name = "team_id")
	public String getTeam_id() {
		return team_id;
	}
	public void setTeam_id(String team_id) {
		this.team_id = team_id;
	}
}
